package com.huawei.ec.ttt.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.huawei.ec.ttt.dao.UserDao;
import com.huawei.ec.ttt.model.User;

@Service(value = "userServiceT")
public class UserServiceImpl implements UserSevice {
	

	@Autowired
	private UserDao userDao;
	
	@Override
	public List<User> getUserList() {
		return userDao.getUserList();
	}
	
	@Override
	public void AddUser(User user) {
		userDao.addUser(user);
	}

}
